<script>
    function cek_form(){
        if($('#pil_kelas').val()==-1){
            alert('Harap pilih kelas!!!')
        }else{
            document.form_move.submit();
        }
    }
</script>
<!--ISI MULAI-->
<div class="beftabel">
    <table border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td valign="top">
                <form name="form_move" action="<?php echo base_url()?>pendaftaran/daftar_con/move_different_process/<?php echo $suspend?>" method="POST">
                    <input type="hidden" name="id" value="<?php echo $user['ID']?>"/>
                    <input type="hidden" name="kelas_lama" value="<?php echo $kelas?>"/>
                    <input type="hidden" name="angkatan_lama" value="<?php echo $angkatan?>"/>
                    <table width="400" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td class="namaform"><div class="namaorang-u">Pemindahan Kelas</div>
                                <div class="namaorang2"><a href="<?php echo base_url()?>pendaftaran/daftar_con/profil_peserta/<?php echo $user['ID'] ?>"><?php echo $user['NAMA'] ?></a> —<?php echo $kelas.'-'.$angkatan ?> </div></td>
                        </tr>
                        <tr>
                            <td>
                                <table width="400" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td class="namaform">Dipindahkan ke Pelatihan</td>
                                    </tr>                 
                                    <tr>
                                        <td>
                                            <?php echo form_dropdown('pil_kelas', $pil_kelas, '', 'class="field2" id="pil_kelas"') ?>
                                        </td>
                                    </tr> 
                                    <tr>
                                        <td class="namaform">Diskon yang Diperoleh</td>
                                    </tr>                 
                                    <tr>
                                        <td>
                                            <ul class="tabs">
                                                <li><a href="#tab1">Dengan CIC Card</a></li>
                                                <li><a href="#tab2">Tanpa CIC Card</a></li>
                                            </ul>
                                            <div class="tab_container">
                                                <div id="tab1" class="tab_content">
                                                    <input name="nocic" type="text" class="fieldy" id="textfield" />
                                                </div>
                                                <div id="tab2" class="tab_content">
                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                        <?php for ($i = 0; $i < count($diskon); $i++) { ?>
                                                            <tr>
                                                                <td class="isicic">
                                                                    <input id="checkbox" type="checkbox" name="diskon[]" value="<?php echo $diskon[$i]['no'] ?>" /><?php echo $diskon[$i]['nama'] ?>
                                                                </td>
                                                            </tr>
                                                        <?php } ?>
                                                    </table>
                                                </div>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                                <div class="tempatbutton88">
                                    <input onClick="cek_form()" type="button" class="save2" id="button" value="Save" />
                                </div>
                            </td>
                        </tr>
                    </table>
                </form>
            </td>
        </tr>
    </table>
</div>
<!-------------------------------------------->
</div>
</td>
<td class="b6"></td>
</tr>
<tr>
    <td class="b4"></td>
    <td class="b5">    <div class="footer2">Copyright &copy;2011 CIC Team | Credits</div></td>
    <td class="b6"></td>
</tr>
<tr>
    <td id="b7"></td>
    <td id="b8"></td>
    <td id="b9"></td>
</tr>
</table>